﻿using System;

namespace Models
{
    /// <summary>
    /// 仓库表
    /// </summary>
    public class Store
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 上级ID
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string StoreName { get; set; }

        /// <summary>
        /// 仓库状态（1：启用；2：禁用）
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Head { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 仓库类别
        /// </summary>
        public string Type { get; set; }
        public Store()
        {
            Status = 1;
            CreateTime = DateTime.Now;
            Description = "";
            IsDelete = 0;
            Head = "";
            Phone = "";
        }

    }
}
